<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../include/taglib.jsp"%>
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--[if lt IE 9]><script src="${ctx}/assets/js/html5.js"></script><![endif]-->
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="${ctx}/assets/css/style.css" />
<link rel="stylesheet" href="${ctx}/assets/css/ui.css" />
<script src="${ctx}/assets/js/jquery-1.7.1.min.js"></script>
<script src="${ctx}/assets/js/jquery.infinitescroll.min.js"></script>
<script src="${ctx}/assets/js/jquery.masonry.min.js"></script>

<style>
<!--
.corner-stamp div {
	position: relative;
	margin: 0 auto;
	text-align: center;
}

.vote-contain {
	min-height: 250px;
}
-->
</style>
</head>
<body>
	<%@include file="../include/head.jsp"%>
	<div class="vote-contain transitions-enabled clearfix" id="container">
		<c:forEach items="${subjects }" var="subject">
			<div class="box ${subject.hasPhoto ? 'photo' : '' }" style="width: 650px;">
				<h2 style="font-weight: bold;">标题：${subject.subjectTitle }</h2>
				<a href="#buttons" class="like">编辑</a> | <a href="#buttons" class="like">删除</a>
			</div>
		</c:forEach>
	</div>
	<div id="page-nav">
		<c:if test="${!empty(pos) }">
			<a href="${ctx }/${sessionScope.user.userID }/vote/page/${pos}"></a>
		</c:if>
	</div>
</body>
</html>